package space.hyf.service;

import space.hyf.entity.LoginLog;
import org.springframework.scheduling.annotation.Async;

import java.util.List;

/**
 * @Description: 登录日志服务
 * @ClassName: LoginLogService
 * @Author: HCode
 * @Date: 2023/3/14 15:48
 * @Version: 1.0
 */
public interface LoginLogService {
    List<LoginLog> getLoginLogListByDate(String startDate, String endDate);

    @Async
    void saveLoginLog(LoginLog log);

    void deleteLoginLogById(Long id);
}
